package com.light.mytext.javaknowledge;

import androidx.annotation.NonNull;

public class Person implements Cloneable{
    public Person(int id, String uName) {
        this.id = id;
        this.uName = uName;
    }

    public int id;
    public String uName;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    @NonNull
    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
